package jrain.fw.script.operator;

import jrain.fw.script.tools.ELException;
import jrain.fw.script.tools.Logger;

//关联操作
public abstract class RelationalOperator extends BinaryOperator {
	// -------------------------------------

	public Object apply(Object pLeft, Object pRight, Object pContext, Logger pLogger) throws ELException {
		return Coercions.applyRelationalOperator(pLeft, pRight, this, pLogger);
	}

	public abstract boolean apply(double pLeft, double pRight, Logger pLogger);

	public abstract boolean apply(long pLeft, long pRight, Logger pLogger);

	public abstract boolean apply(String pLeft, String pRight, Logger pLogger);

}
